<!--
 * @Author: 张天昊
 * @Date: 2024-10-31 10:04:38
 * @LastEditTime: 2024-10-31 10:05:40
 * @LastEditors: 张天昊
 * @Description: 
 * @FilePath: /sentiment-dispose-app/src/views/Demo.vue
-->
<script setup>
import { ref } from 'vue'
import UploadTrigger from '@/components/FilePreviewer/UploadTrigger.vue'
const fileList = ref([])
</script>
<template>
  <FileList
    removable
    collapsed
    :files.sync="fileList"
    :imageMax="3"
    :otherMax="3"
  >
    <template #empty="{ handleUpload }">
      <div class="h-80px w-80px" @click="handleUpload">
        <UploadTrigger icon-size="7vw" />
      </div>
    </template>
  </FileList>
</template>
